﻿//-----------------------------------------------------------------------
// <copyright file="ContentGroundUnitermType.cs" company="tuliprules.org">
//     Copyright (c) 2011 tuplelister, tuliprules.org.
// </copyright>
// <summary>This is the ContentGroundUnitermType class.</summary>
//-----------------------------------------------------------------------
namespace Tulip.Rules.Models.Rif.Prd
{
    using System;
    using System.ComponentModel;
    using System.Xml.Serialization;

    /// <summary>
    /// Represents the content-GROUNDUNITERM type
    /// </summary>
    [Serializable]
    [DesignerCategory(@"code")]
    [XmlType(TypeName = "content-GROUNDUNITERM.type", Namespace = "http://www.w3.org/2007/rif#")]
    public class ContentGroundUnitermType : IRifPrdElement
    {
        /// <summary>
        /// The expression field.
        /// </summary>
        [EditorBrowsable(EditorBrowsableState.Never)]
        private ContentGroundExprType exprField;

        /// <summary>
        /// Gets or sets the expression formula, positional or with named arguments.
        /// </summary>
        [XmlElement(Order = 0)]
        public ContentGroundExprType Expr
        {
            get
            {
                return this.exprField;
            }

            set
            {
                this.exprField = value;
            }
        }
    }
}